package com.ruoyi.project.module.movieuser.domain;

import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 电影用户表 movieuser
 * 
 * @author ruoyi
 * @date 2018-11-14
 */
public class Movieuser extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 用户ID */
	private Integer userId;
	/** 用户姓名 */
	private String userName;
	/** 用户登录名 */
	private String loginname;
	/** 用户登陆密码 */
	private String loginpassword;
	/** 用户性别 */
	private Integer sex;
	/** 用户状态（0正常 1停用） */
	private int status;
	/** 创建时间 */
	private Date createTime;
	/** 更新时间 */
	private Date updateTime;
	/** 备注 */
	private String remark;

	public void setUserId(Integer userId) 
	{
		this.userId = userId;
	}

	public Integer getUserId() 
	{
		return userId;
	}
	public void setUserName(String userName) 
	{
		this.userName = userName;
	}

	public String getUserName() 
	{
		return userName;
	}
	public void setLoginname(String loginname) 
	{
		this.loginname = loginname;
	}

	public String getLoginname() 
	{
		return loginname;
	}
	public void setLoginpassword(String loginpassword) 
	{
		this.loginpassword = loginpassword;
	}

	public String getLoginpassword() 
	{
		return loginpassword;
	}
	public void setSex(Integer sex) 
	{
		this.sex = sex;
	}

	public Integer getSex() 
	{
		return sex;
	}

	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public void setUpdateTime(Date updateTime)
	{
		this.updateTime = updateTime;
	}

	public Date getUpdateTime() 
	{
		return updateTime;
	}
	public void setRemark(String remark) 
	{
		this.remark = remark;
	}

	public String getRemark() 
	{
		return remark;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("loginname", getLoginname())
            .append("loginpassword", getLoginpassword())
            .append("sex", getSex())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
